.class public Lcom/melesta/payment/tapjoy/TapjoyListenerRequestFilter;
.super Ljava/lang/Object;
.source "TapjoyListenerRequestFilter.java"

# interfaces
.implements Lcom/melesta/payment/interfaces/IRequestFilter;


# instance fields
.field private currencyName:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .locals 0
    .parameter "currencyName"

    .prologue
    .line 10
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 11
    iput-object p1, p0, Lcom/melesta/payment/tapjoy/TapjoyListenerRequestFilter;->currencyName:Ljava/lang/String;

    .line 12
    return-void
.end method


# virtual methods
.method public accept(Lcom/melesta/payment/interfaces/IRequest;)Z
    .locals 2
    .parameter "request"

    .prologue
    .line 16
    iget-object v0, p0, Lcom/melesta/payment/tapjoy/TapjoyListenerRequestFilter;->currencyName:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/melesta/payment/tapjoy/TapjoyListenerRequestFilter;->currencyName:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_1

    .line 17
    :cond_0
    instance-of v0, p1, Lcom/melesta/payment/tapjoy/TapjoyListenerRequest;

    .line 19
    .end local p1
    :goto_0
    return v0

    .restart local p1
    :cond_1
    instance-of v0, p1, Lcom/melesta/payment/tapjoy/TapjoyListenerRequest;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/melesta/payment/tapjoy/TapjoyListenerRequestFilter;->currencyName:Ljava/lang/String;

    check-cast p1, Lcom/melesta/payment/tapjoy/TapjoyListenerRequest;

    .end local p1
    invoke-virtual {p1}, Lcom/melesta/payment/tapjoy/TapjoyListenerRequest;->getCurrencyName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x1

    goto :goto_0

    :cond_2
    const/4 v0, 0x0

    goto :goto_0
.end method
